package org.bigdata.zc.mongo;

import lombok.Data;
import org.springframework.data.annotation.Id;

/**
 * 球队统计类
 * Created by Stephen on 2017/10/29.
 */
@Data
public class TeamDataWin {
    public TeamDataWin() {
    }

    public TeamDataWin(int currentMatchCount, int winCount, int drewCount, int lostCount, int goalInCount, int goalLostCount, int clearCount) {
        this.currentMatchCount = currentMatchCount;
        this.winCount = winCount;
        this.drewCount = drewCount;
        this.lostCount = lostCount;
        this.goalInCount = goalInCount;
        this.goalLostCount = goalLostCount;
        this.clearCount = clearCount;
    }

    @Id
    int id;
    //当年比赛次数
    int currentMatchCount;
    //胜利次数
    int winCount;
    //平局次数
    int drewCount;
    //失败次数
    int lostCount;
    //进球次数
    int goalInCount;
    //失球次数
    int goalLostCount;
    //净赢球数
    int clearCount;
    //场均得分
    double avgGoalCount;
    //场均失分
    double avgGoalLostCount;
    //胜率
    double winChance;
    //平率
    double drewCountChance;
    //负率
    double lostCountChance;
    //积分
    int score;
    //主场胜率
    double hostWinChance;
    //客场胜率
    double clientWinChance;
}
